package com.flea.hclv.model.dao;

import com.flea.hclv.model.entity.HServiceOrderUpdateApply;
import com.flea.system.bean.FleaPage;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

public interface HServiceOrderUpdateApplyMapper {
    int deleteByPrimaryKey(String id);

    int insert(HServiceOrderUpdateApply record);

    int insertSelective(HServiceOrderUpdateApply record) throws  Exception;

    HServiceOrderUpdateApply selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(HServiceOrderUpdateApply record);

    int updateByPrimaryKey(HServiceOrderUpdateApply record);

   List<HServiceOrderUpdateApply> findByRevicerAndOrderNo(RowBounds bounds, @Param("orderNo") String orderNo,@Param("userOrgId")String revierId) throws Exception;

  List<HServiceOrderUpdateApply> findByApperAndOrderNo(RowBounds bounds, @Param("orderNo") String orderNo,@Param("apperOrgId")String apperOrgId)throws Exception;
}